import React from 'react';
import { connect } from 'dva';
import styles from './courseIndex.css';
import CourseIndexComponent from '../../components/Class/CourseIndex'

function courseIndex(props) {
  return (
    <div className={styles.normal}>
      <CourseIndexComponent {...props}/>
    </div>
  );
}

function mapStateToProps(state) {
  return {
    courseIndex:state.courseIndex
  };
}

export default connect(mapStateToProps)(courseIndex);
